package me.firstapp.service.weixin.system;

import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.system.Broadcast;

public interface BroadcastService {

	Page<Broadcast> findBroadcastPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType);

	Broadcast findById(Long id);

	Broadcast executeAdd(String type, String name, String backgroundColor, String url, Integer sort, String remark);

	Broadcast executeUpdate(Long id, String type, String name, String backgroundColor, String url, Integer sort,
			Integer status, String remark);

	List<Broadcast> findBroadcasts();
}
